import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    user_info:null
  },
  mutations: {
    add_user (state) {
      state.user_info = JSON.parse(localStorage.login_info)
    }
  },
  actions: {

  }
});
